package com.qf.mapper;

import com.qf.bean.Dept;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface DeptMapper {
    @Select("select * from dept")
    List<Dept> findAll();
@Select("select * from dept where deptname=#{deptname}")
    Dept findBy(String deptname);
}
